import { createRouter, createWebHashHistory } from "vue-router";

export const routes = [
  {
    path: '/',
    name: 'Home',
    component: () => import('@/views/Home.vue'),
  },
  {
    path: '/callReminder',
    name: 'CallReminder',
    component: () => import('@/views/CallReminder.vue'),
  },
  {
    path: '/webViewTest',
    name: 'WebViewTest',
    component: () => import('@/views/WebViewTest.vue'),
  },
  {
    path: '/chatRoom',
    name: 'ChatRoom',
    component: () => import('@/views/ChatRoom.vue'),
  },
]

const router = createRouter({
  scrollBehavior: () => ({ left: 0, top: 0 }),
  history: createWebHashHistory(),
  routes
})

export default router